package com.onlineclass.school.service.impl;

import com.onlineclass.beas.UserInfo;
import com.onlineclass.school.mapper.TeacherMapper;
import com.onlineclass.school.service.ITecherService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TeacherService implements ITecherService {

    @Autowired
    TeacherMapper teacherMapper;


    @Override
    public List<UserInfo> getteacher() {
        return teacherMapper.selectteacher();
    }
}
